package com.cssy.yd.logic.dao;

import com.cssy.yd.logic.entity.LogicMesWareItemDO;
import com.plat.helper.SearchConditions;

import java.util.List;

import org.springframework.dao.DataAccessException;

/**
 * ��ݷ��ʶ���ӿ�
 * @since 2013-08-28
 */
public interface LogicMesWareItemDAO {

    /**
     * �������
     * @param logicMesWareItemDO
     * @return ������ݵ�����
     */
    public String insertLogicMesWareItemDO(LogicMesWareItemDO logicMesWareItemDO);

    /**
     * ͳ�Ƽ�¼��
     * @param logicMesWareItemDO
     * @return ����ļ�¼��
     */
    public Integer countLogicMesWareItemDOByExample(LogicMesWareItemDO logicMesWareItemDO);

    /**
     * ���¼�¼
     * @param logicMesWareItemDO
     * @return ��Ӱ�������
     */
    public Integer updateLogicMesWareItemDO(LogicMesWareItemDO logicMesWareItemDO);

    /**
     * ��ȡ�����б�
     * @param logicMesWareItemDO
     * @return �����б�
     */
    public List<LogicMesWareItemDO> findListByExample(LogicMesWareItemDO logicMesWareItemDO);

    /**
     * ��������ȡlogicMesWareItemDO
     * @param id
     * @return logicMesWareItemDO
     */
    public LogicMesWareItemDO findLogicMesWareItemDOByPrimaryKey(String id);

    /**
     * ɾ���¼
     * @param id
     * @return ��Ӱ�������
     */
    public Integer deleteLogicMesWareItemDOByPrimaryKey(String id);
    

    public List<LogicMesWareItemDO> find(SearchConditions scs) throws DataAccessException;
    
    public Integer count(SearchConditions scs) throws DataAccessException;

}